package cn.weiyang.abstractFactory;

public class Client {
	public static void main(String[] args) {
		CarFactory carFactory = new LuxuryCarFactory();
		Engine engine = carFactory.createEngine();
		Seat seat = carFactory.createSeat();
		engine.run();
		seat.relax();
	}
	

}
